@extends('admin._layouts.default')

@section('main')

      <div class="row-fluid">
        <ul class="row-fluid fluid general_statistics hidden-phone">
            @if($user->shiyong_notice == 1)

            <li class="box gradient span3">
                <a href="/admin/services/mounts">
                    <div class="icon">
                        <img src="{{ URL::asset('ad/img/general/worker2.png') }}">
                        <img class="hover" src="{{ URL::asset('ad/img/general/worker.png') }}">
                    </div>
                    <div class="desc">
                        有30天试用到期装机
                    </div>
                </a>
            </li>

            @endif
          <li class="box gradient span3">
          @if($static['subscribe'] != '' && $static['subscribe'] >= 0)
              <a>
              <div class="icon">
                <img src="{{ URL::asset('ad/img/general/staff2.png') }}">
                <img class="hover" src="{{ URL::asset('ad/img/general/staff.png') }}">
              </div>
              <div class="heading">
                {{ $static['subscribe'] }}
              </div>
              <div class="desc">
                扫码关注数
              </div>
              </a>
              @else
              <a>
              <div class="icon">
                <img src="{{ URL::asset('ad/img/general/staff2.png') }}">
                <img class="hover" src="{{ URL::asset('ad/img/general/staff.png') }}">
              </div>
              <div class="heading">
                {{ $static['user'] }}
              </div>
              <div class="desc">
                运营商
              </div>
              </a>
              @endif
          </li>
          <li class="box gradient span3">
          <a>
          <div class="icon">
            <img src="{{ URL::asset('ad/img/general/worker2.png') }}">
            <img class="hover" src="{{ URL::asset('ad/img/general/worker.png') }}">
          </div>
          <div class="heading">
            {{ $static['work'] }}
          </div>
          <div class="desc">
            服务工程师
          </div>
          </a>
          </li>
          <li class="box gradient span3">
          @if($static['service'] != '' && $static['service'] >= 0)
              <a>
              <div class="icon">
                <img src="{{ URL::asset('ad/img/general/filter2.png') }}">
                <img class="hover" src="{{ URL::asset('ad/img/general/filter.png') }}">
              </div>
              <div class="heading">
                {{ $static['service'] }}
              </div>
              <div class="desc">
                工单数
              </div>
              </a>
            @else
              <a>
              <div class="icon">
                <img src="{{ URL::asset('ad/img/general/customer2.png') }}">
                <img class="hover" src="{{ URL::asset('ad/img/general/customer.png') }}">
              </div>
              <div class="heading">
                {{ $static['customer'] }}
              </div>
              <div class="desc">
                <!-- Development -->
                 装机客户
              </div>
              </a>
            @endif
          </li>
          <li class="box gradient span3">
              <a>
              <div class="icon">
                <img src="{{ URL::asset('ad/img/general/filter2.png') }}">
                <img class="hover" src="{{ URL::asset('ad/img/general/filter.png') }}">
              </div>
              <div class="heading">
                {{ $static['mount'] }}
              </div>
              <div class="desc">
                装机数
              </div>
              </a>
          </li>
        </ul>
      </div>
      <div class="row-fluid"></div>

@stop

@section('script')
<script language="javascript" type="text/javascript" src="{{ URL::asset('web/js/plugins/jquery.peity.min.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ URL::asset('web/js/plugins/jquery.uniform.min.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ URL::asset('web/js/plugins/chosen/chosen/chosen.jquery.min.js') }}"></script>

<script language="javascript" type="text/javascript" src="{{ URL::asset('web/js/plugins/flot/jquery.flot.js') }}"></script>



<script src="{{ URL::asset('web/js/scripts.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ URL::asset('web/js/jnavigate.jquery.min.js') }}"></script>
@stop
